﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ProductionLine.Domain.ProductLine
{
    public  class ProductLineModel
    {
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        [Key]
        /// <summary>
        /// 生产线主键
        /// </summary>
        public int LineId { get; set; }
        /// <summary>
        /// 生产线编号
        /// </summary>
        public string LineCode { get; set; }
        /// <summary>
        /// 生产线名称
        /// </summary>
        public string LineName { get; set; }
        /// <summary>
        /// 生产线类型
        /// </summary>
        public int LineType { get; set; }
        /// <summary>
        /// 车间外键
        /// </summary>
        public int CarId { get; set; }
        /// <summary>
        /// 逻辑删除
        /// </summary>
        public bool IsDel {  get; set; }=false;
    }
}
